 body {
     background-color: #f8f9fa;
     padding-top: 30px;
 }

 .profile-header {
     background: white;
     border-radius: 10px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     overflow: hidden;
     margin-bottom: 30px;
     position: relative;
 }

 .cover-image {
     height: 200px;
     background-size: cover;
     background-position: center;
     position: relative;
 }

 .cover-edit-overlay {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: rgba(0, 0, 0, 0.5);
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     transition: opacity 0.3s;
 }

 .cover-image:hover .cover-edit-overlay {
     opacity: 1;
 }

 .profile-info {
     padding: 25px;
     position: relative;
     margin-top: -75px;
 }

 .avatar-container {
     width: 150px;
     height: 150px;
     border-radius: 50%;
     border: 5px solid white;
     overflow: hidden;
     background: #f1f3f5;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     position: relative;
 }

 .avatar-edit-overlay {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: rgba(0, 0, 0, 0.5);
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     transition: opacity 0.3s;
     color: white;
     cursor: pointer;
 }

 .avatar-container:hover .avatar-edit-overlay {
     opacity: 1;
 }

 .avatar-container img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .user-name {
     font-size: 2rem;
     margin-top: 20px;
     color: #333;
     font-weight: 600;
 }

 .admin-badge {
     background: linear-gradient(45deg, #6f42c1, #8e44ad);
     color: white;
     padding: 4px 12px;
     border-radius: 20px;
     font-size: 0.8rem;
     font-weight: 600;
     margin-left: 10px;
     vertical-align: middle;
 }

 .admin-name {
     color: #6f42c1 !important;
 }

 .stats-container {
     background: white;
     border-radius: 10px;
     padding: 25px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     margin-bottom: 30px;
 }

 .stats-title {
     font-size: 1.3rem;
     margin-bottom: 20px;
     padding-bottom: 10px;
     border-bottom: 2px solid #f1f3f5;
     color: #333;
 }

 .stat-item {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 10px 0;
     border-bottom: 1px solid #f1f3f5;
 }

 .stat-item:last-child {
     border-bottom: none;
 }

 .stat-label {
     font-weight: 500;
     color: #555;
 }

 .stat-value {
     font-weight: 600;
     color: #333;
 }

 .description-container {
     background: white;
     border-radius: 10px;
     padding: 25px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     margin-bottom: 30px;
 }

 .description-content {
     white-space: pre-line;
     line-height: 1.6;
     color: #444;
 }

 .edit-description-btn {
     position: absolute;
     top: 20px;
     right: 20px;
 }

 .gallery-title {
     font-size: 1.5rem;
     margin-bottom: 20px;
     color: #333;
     font-weight: 600;
 }

 .gallery-container {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
     gap: 20px;
     margin-bottom: 30px;
 }

 .gallery-item {
     background: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease;
 }

 .gallery-item:hover {
     transform: translateY(-5px);
 }

 .gallery-image {
     width: 100%;
     height: 200px;
     object-fit: cover;
 }

 .gallery-info {
     padding: 15px;
 }

 .gallery-item-title {
     font-weight: 600;
     margin-bottom: 5px;
     color: #333;
 }

 .gallery-item-date {
     font-size: 0.9rem;
     color: #666;
 }

 .empty-gallery {
     text-align: center;
     padding: 40px;
     color: #666;
     background: white;
     border-radius: 10px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 }

 .nav-tabs {
     border-bottom: 2px solid #dee2e6;
     margin-bottom: 20px;
 }

 .nav-tabs .nav-link {
     border: none;
     color: #555;
     font-weight: 500;
     padding: 10px 20px;
 }

 .nav-tabs .nav-link.active {
     color: #0d6efd;
     border-bottom: 3px solid #0d6efd;
     background: transparent;
 }

 .avatar-options {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 10px;
     margin-top: 15px;
 }

 .avatar-option {
     width: 100%;
     height: 80px;
     border-radius: 8px;
     overflow: hidden;
     cursor: pointer;
     border: 2px solid transparent;
     transition: border-color 0.2s;
 }

 .avatar-option:hover,
 .avatar-option.selected {
     border-color: #0d6efd;
 }

 .avatar-option img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .topimage-options {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
     margin-top: 15px;
 }

 .topimage-option {
     width: 100%;
     height: 100px;
     border-radius: 8px;
     overflow: hidden;
     cursor: pointer;
     border: 2px solid transparent;
     transition: border-color 0.2s;
 }

 .topimage-option:hover,
 .topimage-option.selected {
     border-color: #0d6efd;
 }

 .topimage-option img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }